package com.relytosoft.mizar.media.camera.api.pojo.vo;

import java.io.Serializable;

/**
 * @author lj
 * @date 2022/6/6 16:27
 */
public class CameraDistrictVo implements Serializable {
    private static final Long serialVersionUID = 1L;

    /**
     * 区域ID
     */
    private Integer id;

    /**
     * 1. 区域  2. 设备
     */
    private Integer type;

    /**
     * 区域名称
     */
    private String name;

    /**
     * 父级ID
     */
    private Integer parentId;

    /**
     * 设备ID
     */
    private Integer cameraId;

    /**
     * 第三方平台设备编码
     */
    private String platformCameraCode;

    /**
     * 排序字段
     */
    private Integer sort;


    /**
     * IP地址
     */
    private String ip;

    /**
     * 设备账号
     */
    private String userName;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 取流地址
     */
    private String videoUrl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCameraId() {
        return cameraId;
    }

    public void setCameraId(Integer cameraId) {
        this.cameraId = cameraId;
    }

    public String getPlatformCameraCode() {
        return platformCameraCode;
    }

    public void setPlatformCameraCode(String platformCameraCode) {
        this.platformCameraCode = platformCameraCode;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    @Override
    public String toString() {
        return "CameraDistrictVo{" +
                "id=" + id +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", cameraId=" + cameraId +
                ", platformCameraCode='" + platformCameraCode + '\'' +
                ", sort=" + sort +
                ", ip='" + ip + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", videoUrl='" + videoUrl + '\'' +
                '}';
    }
}
